<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <title>艺传天下</title>
</head>

<body style="margin:0;">
  <div id="app"></div>
  <script>
    window.easemobim = window.easemobim || {};
    easemobim.config = {
      configId: '5cd3f3ce-6a12-4115-b29d-766d364cf292',
      hide: true,
      autoConnect: true,
      visitor: {
        trueName: localStorage.getItem("YKuserphone"),
        qq: '',
        phone: '',
        companyName: '',
        userNickname: localStorage.getItem("YKuserphone"),
        description: '',
        email: ''
      }
    };
  </script>
  <script src='//kefu.easemob.com/webim/easemob.js?configId=5cd3f3ce-6a12-4115-b29d-766d364cf292'></script>
  <script src='//kefu.easemob.com/webim/easemob.js'></script>
  <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=6321f7055c0399ce7a73b5590bd02f13">
  </script>
  <script type="text/javascript" src="https://cache.amap.com/lbs/static/addToolbar.js"></script>
  <!-- built files will be auto injected -->
  <script type="text/javascript">
    var userAgentInfo = navigator.userAgent;
    var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod");
    var flag = false;
    var v = 0
    for (v = 0; v < Agents.length; v++) {
        if (userAgentInfo.indexOf(Agents[v]) > 0) {
            flag = true;
            break;
        }
    }
    if (flag) {
        window.location.href = 'http://www.yclearn.com.cn/ykphone/index.html#/'; 
        // console.log('移动端')
    }
</script>
</body>

</html>
